<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
    <script type="text/javascript" src="static/js/jquery-2.1.4.min.js"></script>
</head>
<body>
<h1>Error Handler</h1>
<div th:if="url != null" th:text="${url}"></div>
<div th:if="${exception} != null" th:text="${exception.message}"></div>
</body>
</html>